import request from '@/utils/request'

/**
 * 模糊查询
 */
export function fuzzySearch(params) {
  return request({
    url: '/article/fuzzySearch',
    method: 'get',
    params
  })
}

/**
 * 查询所有
 */
export function searchAll() {
  return request({
    url: '/article/searchAll',
    method: 'get'
  })
}

/**
 * 发布
 */
export function save(data) {
  return request({
    url: '/article/save',
    method: 'post',
    data
  })
}


